package org.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("f2f_model")
public class Model {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private String videoPath;

    private String audioPath;

    private Long voiceId;

    @TableField("primary_category_id")
    private Long primaryCategoryId;  // 一级分类 (如: 足球、商品)

    @TableField("secondary_category_id")
    private Long secondaryCategoryId;  // 二级分类 (如: 解说博主、带货博主)

    @TableField("tertiary_category_id")
    private Long tertiaryCategoryId;  // 三级分类

    private String primaryCategoryName;

    private String secondaryCategoryName;

    private String tertiaryCategoryName;

    private String language;

    private LocalDateTime createTime;  // 创建时间
    private LocalDateTime updateTime;  // 创建时间
}
